package com.study.spaoplog.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author study
 * @version 1.0
 * @date 2021/6/18 15:20
 */
@Configuration
public class ColorConfig {

    @Bean(initMethod = "init", destroyMethod = "destory")
    public Color color() {
        return new Color("black");
    }
}
